package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入会条件信息，存储会员入会条件的各个版本及其状态对象 t_membership_conditions
 * 
 * @author ruoyi
 * @date 2025-08-25
 */
public class TMembershipConditions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 条件唯一标识ID */
    private Long conditionId;

    /** 入会条件标题 */
    @Excel(name = "入会条件标题")
    private String title;

    /** 入会条件版本号 */
    @Excel(name = "入会条件版本号")
    private String version;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 0已发布；1未发布；2已使用 */
    @Excel(name = "0已发布；1未发布；2已使用")
    private Integer status;

    /** 富文本格式的入会条件详细内容 */
    @Excel(name = "富文本格式的入会条件详细内容")
    private String content;

    public void setConditionId(Long conditionId) 
    {
        this.conditionId = conditionId;
    }

    public Long getConditionId() 
    {
        return conditionId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("conditionId", getConditionId())
            .append("title", getTitle())
            .append("version", getVersion())
            .append("createdAt", getCreatedAt())
            .append("status", getStatus())
            .append("content", getContent())
            .toString();
    }
}
